//
//  EditAlarmViewController.h
//  AlarmClock
//
//  Created by Fedor Skrynnikov on 9/27/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface EditAlarmViewController : UIViewController < UITableViewDataSource, 
                                                        UITableViewDelegate, 
                                                        UIActionSheetDelegate, 
                                                        UIActionSheetDelegate,
                                                        UIPickerViewDataSource,
                                                        UIPickerViewDelegate,
                                                        UIImagePickerControllerDelegate,
                                                        UINavigationControllerDelegate>{
    @private NSArray* cellIdentifiers;
    @private NSArray* recurences;
}
    @property (strong, nonatomic) IBOutlet UIScrollView* scrollView;
    @property (strong, nonatomic) IBOutletCollection(UITableViewCell) NSArray* cells;

    @property (strong, nonatomic) IBOutlet UITextField* nameTextField;
    @property (strong, nonatomic) IBOutlet UITextField* noteTextField;
    @property (strong, nonatomic) IBOutlet UIButton* addImageButton;    

    @property (strong, nonatomic) IBOutlet UIView* datePickerView;
    @property (strong, nonatomic) IBOutlet UIView* recurencePicker;

    @property (strong, nonatomic) NSDictionary* initData;

    - (IBAction)doneButtonPressed:(id)sender;
    - (IBAction)saveButtonPressed:(id)sender;

    - (IBAction)todayButtonPressed:(id)sender;
    - (IBAction)selectDateButtonPressed:(id)sender;

    - (IBAction)selectRecurenceButtonPressed:(id)sender;
    - (IBAction)customRecurenceButtonPressed:(id)sender;

    - (IBAction)insertImageButtonePressed:(id)sender;
@end
